package com.ease.util.logging {

   import com.ease.util.MixedUtil;

   import mx.core.mx_internal;
   import mx.logging.ILogger;
   import mx.logging.LogEvent;
   import mx.logging.targets.TraceTarget;

   use namespace mx_internal;

   /**
    * Extends <code>mx.logging.targets.TraceTarget</code> to provide
    * an <code>includeClass</code> property to log the simple
    * class name.
    */
   public class TraceTargetEx extends LineFormattedTargetEx {

      /** @inheritDoc */
      override protected function logMessage(message:String, level:int):void {
         //this is pretty much the only place where trace is allowed.
         trace(message);
      }
   }
}
